/* CmdLineParser$Option$IntegerOption - Decompiled by JCavaj
 * Visit http://www.bysoft.se/sureshot/jcavaj/
 */
package jargs.gnu;

import jargs.gnu.CmdLineParser.Option;

public class CmdLineParser$Option$IntegerOption extends Option
{
    public CmdLineParser$Option$IntegerOption(char c, String string) {
	super(c, string, true);
    }
    
    protected Object parseValue(String string)
	throws CmdLineParser.IllegalOptionValueException {
	try {
	    return new Integer(string);
	} catch (NumberFormatException numberformatexception) {
	    throw new CmdLineParser.IllegalOptionValueException(this, string);
	}
    }
}
